/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package commandapplication;



/**
 *
 * @author Ramon
 */
public class Client {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
//        Comm1 c1 = new Comm1();
        Comm2 c2 = new Comm2();
        c2.setValor(3);
        Comm3 c3 = new Comm3();


        Invoker invoker = new Invoker(c3);
        c3.setValor1(2);
        c3.setValor2(7);

        invoker.invoke();
        System.out.println("Resultat = " +c3.resultat());

//        String r = c1.getResultat();
//        System.out.println(r);
        
        


    }

}
